<template>
    <div class="row">
<!--        {{ test }}-->
    </div>
</template>

<script lang="ts">
import './hello.ts'
import './testxml.ts'
import './mutipleModel.ts'
import {Component, Vue} from "vue-facing-decorator";
import {parse} from "java-parser"
import {parseJson, parser} from "@/chevrotain/typescript_json";

let id = 0

@Component({
})
export default class HomeView extends Vue {
    test = null

    created() {
        const javaText = `
public class HelloWorldExample{
  public static void main(String args[]){
    System.out.println("Hello World !");
  }
}
`;

        const cst = parse(javaText);
        console.log(cst)

        this.test = cst

        for (const child in cst.children) {
            console.log(child)
            console.log(cst.children[child])
        }



        const fasdf = `export default class TstA{
    static acafd(){
        console.log(fasd)
    }
}`

        const ad = parseJson(fasdf)

        console.log(ad)

    }
}

</script>
<style scoped>
.buttons {
    margin-top: 35px;
}

.ghost {
    opacity: 0.5;
    background: #c8ebfb;
}

.not-draggable {
    cursor: no-drop;
}
</style>
